package com.example.blog.dto.announcement;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class AnnouncementDto {
   @NotBlank(message = "内容不能为空")
   private String content;
   @NotBlank(message = "标题不能为空")
   private String title;
   @NotBlank(message = "请先登录状态")
   private String publisher;
   private long id;
}
